package com.wlyy.his.entity.ums;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.wlyy.his.entity.common.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 账户
 * </p>
 *
 * @author ZhouYanhui
 * @since 2021-09-02
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("ums_account")
public class Account extends BaseEntity{

    private static final long serialVersionUID = 8518380287408280728L;
    /**
     * 账户主键
     */
    @TableId(type = IdType.ASSIGN_ID)
    private String accountId;
    /**
     * 手机号
     */
    private String telephone;

    /**
     * 用户角色 1 用户端
     *         2 医生
     */
    private Integer role;

}
